Integrand size = 18, antiderivative size = 1280 \[ \int (c+d x) \sqrt {b \tanh (e+f x)} \, dx=-\frac {\sqrt {-b} (c+d x) \text {arctanh}\left (\frac {\sqrt {b \tanh (e+f x)}}{\sqrt {-b}}\right )}{f}-\frac {\sqrt {-b} d \text {arctanh}\left (\frac {\sqrt {b \tanh (e+f x)}}{\sqrt {-b}}\right )^2}{2 f^2}+\frac {\sqrt {b} (c+d x) \text {arctanh}\left (\frac {\sqrt {b \tanh (e+f x)}}{\sqrt {b}}\right )}{f}+\frac {\sqrt {b} d \text {arctanh}\left (\frac {\sqrt {b \tanh (e+f x)}}{\sqrt {b}}\right )^2}{2 f^2}-\frac {\sqrt {b} d \text {arctanh}\left (\frac {\sqrt {b \tanh (e+f x)}}{\sqrt {b}}\right ) \log \left (\frac {2 \sqrt {b}}{\sqrt {b}-\sqrt {b \tanh (e+f x)}}\right )}{f^2}+\frac {\sqrt {b} d \text {arctanh}\left (\frac {\sqrt {b \tanh (e+f x)}}{\sqrt {b}}\right ) \log \left (\frac {2 \sqrt {b}}{\sqrt {b}+\sqrt {b \tanh (e+f x)}}\right )}{f^2}-\frac {\sqrt {b} d \text {arctanh}\left (\frac {\sqrt {b \tanh (e+f x)}}{\sqrt {b}}\right ) \log \left (\frac {2 \sqrt {b} \left (\sqrt {-b}-\sqrt {b \tanh (e+f x)}\right )}{\left (\sqrt {-b}-\sqrt {b}\right ) \left (\sqrt {b}+\sqrt {b \tanh (e+f x)}\right )}\right )}{2 f^2}-\frac {\sqrt {b} d \text {arctanh}\left (\frac {\sqrt {b \tanh (e+f x)}}{\sqrt {b}}\right ) \log \left (\frac {2 \sqrt {b} \left (\sqrt {-b}+\sqrt {b \tanh (e+f x)}\right )}{\left (\sqrt {-b}+\sqrt {b}\right ) \left (\sqrt {b}+\sqrt {b \tanh (e+f x)}\right )}\right )}{2 f^2}+\frac {\sqrt {-b} d \text {arctanh}\left (\frac {\sqrt {b \tanh (e+f x)}}{\sqrt {-b}}\right ) \log \left (\frac {2}{1-\frac {\sqrt {b \tanh (e+f x)}}{\sqrt {-b}}}\right )}{f^2}-\frac {\sqrt {-b} d \text {arctanh}\left (\frac {\sqrt {b \tanh (e+f x)}}{\sqrt {-b}}\right ) \log \left (\frac {2 \left (\sqrt {b}-\sqrt {b \tanh (e+f x)}\right )}{\left (\sqrt {-b}+\sqrt {b}\right ) \left (1-\frac {\sqrt {b \tanh (e+f x)}}{\sqrt {-b}}\right )}\right )}{2 f^2}-\frac {\sqrt {-b} d \text {arctanh}\left (\frac {\sqrt {b \tanh (e+f x)}}{\sqrt {-b}}\right ) \log \left (-\frac {2 \left (\sqrt {b}+\sqrt {b \tanh (e+f x)}\right )}{\left (\sqrt {-b}-\sqrt {b}\right ) \left (1-\frac {\sqrt {b \tanh (e+f x)}}{\sqrt {-b}}\right )}\right )}{2 f^2}-\frac {\sqrt {-b} d \text {arctanh}\left (\frac {\sqrt {b \tanh (e+f x)}}{\sqrt {-b}}\right ) \log \left (\frac {2}{1+\frac {\sqrt {b \tanh (e+f x)}}{\sqrt {-b}}}\right )}{f^2}-\frac {\sqrt {b} d \operatorname {PolyLog}\left (2,1-\frac {2 \sqrt {b}}{\sqrt {b}-\sqrt {b \tanh (e+f x)}}\right )}{2 f^2}-\frac {\sqrt {b} d \operatorname {PolyLog}\left (2,1-\frac {2 \sqrt {b}}{\sqrt {b}+\sqrt {b \tanh (e+f x)}}\right )}{2 f^2}+\frac {\sqrt {b} d \operatorname {PolyLog}\left (2,1-\frac {2 \sqrt {b} \left (\sqrt {-b}-\sqrt {b \tanh (e+f x)}\right )}{\left (\sqrt {-b}-\sqrt {b}\right ) \left (\sqrt {b}+\sqrt {b \tanh (e+f x)}\right )}\right )}{4 f^2}+\frac {\sqrt {b} d \operatorname {PolyLog}\left (2,1-\frac {2 \sqrt {b} \left (\sqrt {-b}+\sqrt {b \tanh (e+f x)}\right )}{\left (\sqrt {-b}+\sqrt {b}\right ) \left (\sqrt {b}+\sqrt {b \tanh (e+f x)}\right )}\right )}{4 f^2}+\frac {\sqrt {-b} d \operatorname {PolyLog}\left (2,1-\frac {2}{1-\frac {\sqrt {b \tanh (e+f x)}}{\sqrt {-b}}}\right )}{2 f^2}-\frac {\sqrt {-b} d \operatorname {PolyLog}\left (2,1-\frac {2 \left (\sqrt {b}-\sqrt {b \tanh (e+f x)}\right )}{\left (\sqrt {-b}+\sqrt {b}\right ) \left (1-\frac {\sqrt {b \tanh (e+f x)}}{\sqrt {-b}}\right )}\right )}{4 f^2}-\frac {\sqrt {-b} d \operatorname {PolyLog}\left (2,1+\frac {2 \left (\sqrt {b}+\sqrt {b \tanh (e+f x)}\right )}{\left (\sqrt {-b}-\sqrt {b}\right ) \left (1-\frac {\sqrt {b \tanh (e+f x)}}{\sqrt {-b}}\right )}\right )}{4 f^2}+\frac {\sqrt {-b} d \operatorname {PolyLog}\left (2,1-\frac {2}{1+\frac {\sqrt {b \tanh (e+f x)}}{\sqrt {-b}}}\right )}{2 f^2} \]
[Out]
Time = 0.97 (sec) , antiderivative size = 1280, normalized size of antiderivative = 1.00, number of steps used = 37, number of rules used = 12, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.667, Rules used = {3817, 213, 281, 6857, 6139, 6057, 2449, 2352, 2497, 6131, 6055, 212} \[ \int (c+d x) \sqrt {b \tanh (e+f x)} \, dx=-\frac {\sqrt {-b} d \text {arctanh}\left (\frac {\sqrt {b \tanh (e+f x)}}{\sqrt {-b}}\right )^2}{2 f^2}-\frac {\sqrt {-b} (c+d x) \text {arctanh}\left (\frac {\sqrt {b \tanh (e+f x)}}{\sqrt {-b}}\right )}{f}+\frac {\sqrt {-b} d \log \left (\frac {2}{1-\frac {\sqrt {b \tanh (e+f x)}}{\sqrt {-b}}}\right ) \text {arctanh}\left (\frac {\sqrt {b \tanh (e+f x)}}{\sqrt {-b}}\right )}{f^2}-\frac {\sqrt {-b} d \log \left (\frac {2 \left (\sqrt {b}-\sqrt {b \tanh (e+f x)}\right )}{\left (\sqrt {-b}+\sqrt {b}\right ) \left (1-\frac {\sqrt {b \tanh (e+f x)}}{\sqrt {-b}}\right )}\right ) \text {arctanh}\left (\frac {\sqrt {b \tanh (e+f x)}}{\sqrt {-b}}\right )}{2 f^2}-\frac {\sqrt {-b} d \log \left (-\frac {2 \left (\sqrt {b}+\sqrt {b \tanh (e+f x)}\right )}{\left (\sqrt {-b}-\sqrt {b}\right ) \left (1-\frac {\sqrt {b \tanh (e+f x)}}{\sqrt {-b}}\right )}\right ) \text {arctanh}\left (\frac {\sqrt {b \tanh (e+f x)}}{\sqrt {-b}}\right )}{2 f^2}-\frac {\sqrt {-b} d \log \left (\frac {2}{\frac {\sqrt {b \tanh (e+f x)}}{\sqrt {-b}}+1}\right ) \text {arctanh}\left (\frac {\sqrt {b \tanh (e+f x)}}{\sqrt {-b}}\right )}{f^2}+\frac {\sqrt {b} d \text {arctanh}\left (\frac {\sqrt {b \tanh (e+f x)}}{\sqrt {b}}\right )^2}{2 f^2}+\frac {\sqrt {b} (c+d x) \text {arctanh}\left (\frac {\sqrt {b \tanh (e+f x)}}{\sqrt {b}}\right )}{f}-\frac {\sqrt {b} d \text {arctanh}\left (\frac {\sqrt {b \tanh (e+f x)}}{\sqrt {b}}\right ) \log \left (\frac {2 \sqrt {b}}{\sqrt {b}-\sqrt {b \tanh (e+f x)}}\right )}{f^2}+\frac {\sqrt {b} d \text {arctanh}\left (\frac {\sqrt {b \tanh (e+f x)}}{\sqrt {b}}\right ) \log \left (\frac {2 \sqrt {b}}{\sqrt {b}+\sqrt {b \tanh (e+f x)}}\right )}{f^2}-\frac {\sqrt {b} d \text {arctanh}\left (\frac {\sqrt {b \tanh (e+f x)}}{\sqrt {b}}\right ) \log \left (\frac {2 \sqrt {b} \left (\sqrt {-b}-\sqrt {b \tanh (e+f x)}\right )}{\left (\sqrt {-b}-\sqrt {b}\right ) \left (\sqrt {b}+\sqrt {b \tanh (e+f x)}\right )}\right )}{2 f^2}-\frac {\sqrt {b} d \text {arctanh}\left (\frac {\sqrt {b \tanh (e+f x)}}{\sqrt {b}}\right ) \log \left (\frac {2 \sqrt {b} \left (\sqrt {-b}+\sqrt {b \tanh (e+f x)}\right )}{\left (\sqrt {-b}+\sqrt {b}\right ) \left (\sqrt {b}+\sqrt {b \tanh (e+f x)}\right )}\right )}{2 f^2}-\frac {\sqrt {b} d \operatorname {PolyLog}\left (2,1-\frac {2 \sqrt {b}}{\sqrt {b}-\sqrt {b \tanh (e+f x)}}\right )}{2 f^2}-\frac {\sqrt {b} d \operatorname {PolyLog}\left (2,1-\frac {2 \sqrt {b}}{\sqrt {b}+\sqrt {b \tanh (e+f x)}}\right )}{2 f^2}+\frac {\sqrt {b} d \operatorname {PolyLog}\left (2,1-\frac {2 \sqrt {b} \left (\sqrt {-b}-\sqrt {b \tanh (e+f x)}\right )}{\left (\sqrt {-b}-\sqrt {b}\right ) \left (\sqrt {b}+\sqrt {b \tanh (e+f x)}\right )}\right )}{4 f^2}+\frac {\sqrt {b} d \operatorname {PolyLog}\left (2,1-\frac {2 \sqrt {b} \left (\sqrt {-b}+\sqrt {b \tanh (e+f x)}\right )}{\left (\sqrt {-b}+\sqrt {b}\right ) \left (\sqrt {b}+\sqrt {b \tanh (e+f x)}\right )}\right )}{4 f^2}+\frac {\sqrt {-b} d \operatorname {PolyLog}\left (2,1-\frac {2}{1-\frac {\sqrt {b \tanh (e+f x)}}{\sqrt {-b}}}\right )}{2 f^2}-\frac {\sqrt {-b} d \operatorname {PolyLog}\left (2,1-\frac {2 \left (\sqrt {b}-\sqrt {b \tanh (e+f x)}\right )}{\left (\sqrt {-b}+\sqrt {b}\right ) \left (1-\frac {\sqrt {b \tanh (e+f x)}}{\sqrt {-b}}\right )}\right )}{4 f^2}-\frac {\sqrt {-b} d \operatorname {PolyLog}\left (2,\frac {2 \left (\sqrt {b}+\sqrt {b \tanh (e+f x)}\right )}{\left (\sqrt {-b}-\sqrt {b}\right ) \left (1-\frac {\sqrt {b \tanh (e+f x)}}{\sqrt {-b}}\right )}+1\right )}{4 f^2}+\frac {\sqrt {-b} d \operatorname {PolyLog}\left (2,1-\frac {2}{\frac {\sqrt {b \tanh (e+f x)}}{\sqrt {-b}}+1}\right )}{2 f^2} \]
[In]
[Out]
Rule 212
Rule 213
Rule 281
Rule 2352
Rule 2449
Rule 2497
Rule 3817
Rule 6055
Rule 6057
Rule 6131
Rule 6139
Rule 6857
Rubi steps \begin{align*} \text {integral}& = -\frac {\sqrt {-b} (c+d x) \text {arctanh}\left (\frac {\sqrt {b \tanh (e+f x)}}{\sqrt {-b}}\right )}{f}+\frac {\sqrt {b} (c+d x) \text {arctanh}\left (\frac {\sqrt {b \tanh (e+f x)}}{\sqrt {b}}\right )}{f}+\frac {\left (\sqrt {-b} d\right ) \int \text {arctanh}\left (\frac {\sqrt {b \tanh (e+f x)}}{\sqrt {-b}}\right ) \, dx}{f}-\frac {\left (\sqrt {b} d\right ) \int \text {arctanh}\left (\frac {\sqrt {b \tanh (e+f x)}}{\sqrt {b}}\right ) \, dx}{f} \\ & = -\frac {\sqrt {-b} (c+d x) \text {arctanh}\left (\frac {\sqrt {b \tanh (e+f x)}}{\sqrt {-b}}\right )}{f}+\frac {\sqrt {b} (c+d x) \text {arctanh}\left (\frac {\sqrt {b \tanh (e+f x)}}{\sqrt {b}}\right )}{f}+\frac {\left (\sqrt {-b} d\right ) \text {Subst}\left (\int \frac {\text {arctanh}\left (\frac {b \sqrt {b x}}{(-b)^{3/2}}\right )}{-1+x^2} \, dx,x,\tanh (e+f x)\right )}{f^2}-\frac {\left (\sqrt {b} d\right ) \text {Subst}\left (\int \frac {\text {arctanh}\left (\frac {\sqrt {b x}}{\sqrt {b}}\right )}{1-x^2} \, dx,x,\tanh (e+f x)\right )}{f^2} \\ & = -\frac {\sqrt {-b} (c+d x) \text {arctanh}\left (\frac {\sqrt {b \tanh (e+f x)}}{\sqrt {-b}}\right )}{f}+\frac {\sqrt {b} (c+d x) \text {arctanh}\left (\frac {\sqrt {b \tanh (e+f x)}}{\sqrt {b}}\right )}{f}-\frac {(2 d) \text {Subst}\left (\int \frac {x \text {arctanh}\left (\frac {b x}{(-b)^{3/2}}\right )}{-1+\frac {x^4}{b^2}} \, dx,x,\sqrt {b \tanh (e+f x)}\right )}{\sqrt {-b} f^2}-\frac {(2 d) \text {Subst}\left (\int \frac {x \text {arctanh}\left (\frac {x}{\sqrt {b}}\right )}{1-\frac {x^4}{b^2}} \, dx,x,\sqrt {b \tanh (e+f x)}\right )}{\sqrt {b} f^2} \\ & = -\frac {\sqrt {-b} (c+d x) \text {arctanh}\left (\frac {\sqrt {b \tanh (e+f x)}}{\sqrt {-b}}\right )}{f}+\frac {\sqrt {b} (c+d x) \text {arctanh}\left (\frac {\sqrt {b \tanh (e+f x)}}{\sqrt {b}}\right )}{f}-\frac {(2 d) \text {Subst}\left (\int \left (-\frac {b x \text {arctanh}\left (\frac {b x}{(-b)^{3/2}}\right )}{2 \left (b-x^2\right )}-\frac {b x \text {arctanh}\left (\frac {b x}{(-b)^{3/2}}\right )}{2 \left (b+x^2\right )}\right ) \, dx,x,\sqrt {b \tanh (e+f x)}\right )}{\sqrt {-b} f^2}-\frac {(2 d) \text {Subst}\left (\int \left (\frac {b x \text {arctanh}\left (\frac {x}{\sqrt {b}}\right )}{2 \left (b-x^2\right )}+\frac {b x \text {arctanh}\left (\frac {x}{\sqrt {b}}\right )}{2 \left (b+x^2\right )}\right ) \, dx,x,\sqrt {b \tanh (e+f x)}\right )}{\sqrt {b} f^2} \\ & = -\frac {\sqrt {-b} (c+d x) \text {arctanh}\left (\frac {\sqrt {b \tanh (e+f x)}}{\sqrt {-b}}\right )}{f}+\frac {\sqrt {b} (c+d x) \text {arctanh}\left (\frac {\sqrt {b \tanh (e+f x)}}{\sqrt {b}}\right )}{f}-\frac {\left (\sqrt {-b} d\right ) \text {Subst}\left (\int \frac {x \text {arctanh}\left (\frac {b x}{(-b)^{3/2}}\right )}{b-x^2} \, dx,x,\sqrt {b \tanh (e+f x)}\right )}{f^2}-\frac {\left (\sqrt {-b} d\right ) \text {Subst}\left (\int \frac {x \text {arctanh}\left (\frac {b x}{(-b)^{3/2}}\right )}{b+x^2} \, dx,x,\sqrt {b \tanh (e+f x)}\right )}{f^2}-\frac {\left (\sqrt {b} d\right ) \text {Subst}\left (\int \frac {x \text {arctanh}\left (\frac {x}{\sqrt {b}}\right )}{b-x^2} \, dx,x,\sqrt {b \tanh (e+f x)}\right )}{f^2}-\frac {\left (\sqrt {b} d\right ) \text {Subst}\left (\int \frac {x \text {arctanh}\left (\frac {x}{\sqrt {b}}\right )}{b+x^2} \, dx,x,\sqrt {b \tanh (e+f x)}\right )}{f^2} \\ & = -\frac {\sqrt {-b} (c+d x) \text {arctanh}\left (\frac {\sqrt {b \tanh (e+f x)}}{\sqrt {-b}}\right )}{f}-\frac {\sqrt {-b} d \text {arctanh}\left (\frac {\sqrt {b \tanh (e+f x)}}{\sqrt {-b}}\right )^2}{2 f^2}+\frac {\sqrt {b} (c+d x) \text {arctanh}\left (\frac {\sqrt {b \tanh (e+f x)}}{\sqrt {b}}\right )}{f}+\frac {\sqrt {b} d \text {arctanh}\left (\frac {\sqrt {b \tanh (e+f x)}}{\sqrt {b}}\right )^2}{2 f^2}-\frac {d \text {Subst}\left (\int \frac {\text {arctanh}\left (\frac {x}{\sqrt {b}}\right )}{1-\frac {x}{\sqrt {b}}} \, dx,x,\sqrt {b \tanh (e+f x)}\right )}{f^2}-\frac {d \text {Subst}\left (\int \frac {\text {arctanh}\left (\frac {b x}{(-b)^{3/2}}\right )}{1-\frac {b x}{(-b)^{3/2}}} \, dx,x,\sqrt {b \tanh (e+f x)}\right )}{f^2}-\frac {\left (\sqrt {-b} d\right ) \text {Subst}\left (\int \left (\frac {\text {arctanh}\left (\frac {b x}{(-b)^{3/2}}\right )}{2 \left (\sqrt {b}-x\right )}-\frac {\text {arctanh}\left (\frac {b x}{(-b)^{3/2}}\right )}{2 \left (\sqrt {b}+x\right )}\right ) \, dx,x,\sqrt {b \tanh (e+f x)}\right )}{f^2}-\frac {\left (\sqrt {b} d\right ) \text {Subst}\left (\int \left (-\frac {\text {arctanh}\left (\frac {x}{\sqrt {b}}\right )}{2 \left (\sqrt {-b}-x\right )}+\frac {\text {arctanh}\left (\frac {x}{\sqrt {b}}\right )}{2 \left (\sqrt {-b}+x\right )}\right ) \, dx,x,\sqrt {b \tanh (e+f x)}\right )}{f^2} \\ & = -\frac {\sqrt {-b} (c+d x) \text {arctanh}\left (\frac {\sqrt {b \tanh (e+f x)}}{\sqrt {-b}}\right )}{f}-\frac {\sqrt {-b} d \text {arctanh}\left (\frac {\sqrt {b \tanh (e+f x)}}{\sqrt {-b}}\right )^2}{2 f^2}+\frac {\sqrt {b} (c+d x) \text {arctanh}\left (\frac {\sqrt {b \tanh (e+f x)}}{\sqrt {b}}\right )}{f}+\frac {\sqrt {b} d \text {arctanh}\left (\frac {\sqrt {b \tanh (e+f x)}}{\sqrt {b}}\right )^2}{2 f^2}-\frac {\sqrt {b} d \text {arctanh}\left (\frac {\sqrt {b \tanh (e+f x)}}{\sqrt {b}}\right ) \log \left (\frac {2 \sqrt {b}}{\sqrt {b}-\sqrt {b \tanh (e+f x)}}\right )}{f^2}-\frac {\sqrt {-b} d \text {arctanh}\left (\frac {\sqrt {b \tanh (e+f x)}}{\sqrt {-b}}\right ) \log \left (\frac {2}{1+\frac {\sqrt {b \tanh (e+f x)}}{\sqrt {-b}}}\right )}{f^2}+\frac {d \text {Subst}\left (\int \frac {\log \left (\frac {2}{1-\frac {x}{\sqrt {b}}}\right )}{1-\frac {x^2}{b}} \, dx,x,\sqrt {b \tanh (e+f x)}\right )}{f^2}+\frac {d \text {Subst}\left (\int \frac {\log \left (\frac {2}{1-\frac {b x}{(-b)^{3/2}}}\right )}{1+\frac {x^2}{b}} \, dx,x,\sqrt {b \tanh (e+f x)}\right )}{f^2}-\frac {\left (\sqrt {-b} d\right ) \text {Subst}\left (\int \frac {\text {arctanh}\left (\frac {b x}{(-b)^{3/2}}\right )}{\sqrt {b}-x} \, dx,x,\sqrt {b \tanh (e+f x)}\right )}{2 f^2}+\frac {\left (\sqrt {-b} d\right ) \text {Subst}\left (\int \frac {\text {arctanh}\left (\frac {b x}{(-b)^{3/2}}\right )}{\sqrt {b}+x} \, dx,x,\sqrt {b \tanh (e+f x)}\right )}{2 f^2}+\frac {\left (\sqrt {b} d\right ) \text {Subst}\left (\int \frac {\text {arctanh}\left (\frac {x}{\sqrt {b}}\right )}{\sqrt {-b}-x} \, dx,x,\sqrt {b \tanh (e+f x)}\right )}{2 f^2}-\frac {\left (\sqrt {b} d\right ) \text {Subst}\left (\int \frac {\text {arctanh}\left (\frac {x}{\sqrt {b}}\right )}{\sqrt {-b}+x} \, dx,x,\sqrt {b \tanh (e+f x)}\right )}{2 f^2} \\ & = \text {Too large to display} \\ \end{align*}
Result contains complex when optimal does not.
Time = 4.71 (sec) , antiderivative size = 556, normalized size of antiderivative = 0.43 \[ \int (c+d x) \sqrt {b \tanh (e+f x)} \, dx=\frac {\left (-4 f (c+d x) \left (2 \arctan \left (\sqrt {\tanh (e+f x)}\right )+\log \left (1-\sqrt {\tanh (e+f x)}\right )-\log \left (1+\sqrt {\tanh (e+f x)}\right )\right )+d \left (4 i \arctan \left (\sqrt {\tanh (e+f x)}\right )^2-4 \arctan \left (\sqrt {\tanh (e+f x)}\right ) \log \left (1+e^{4 i \arctan \left (\sqrt {\tanh (e+f x)}\right )}\right )-\log ^2\left (1-\sqrt {\tanh (e+f x)}\right )+2 \log \left (1-\sqrt {\tanh (e+f x)}\right ) \log \left (\left (\frac {1}{2}+\frac {i}{2}\right ) \left (-i+\sqrt {\tanh (e+f x)}\right )\right )+2 \log \left (1-\sqrt {\tanh (e+f x)}\right ) \log \left (\left (\frac {1}{2}-\frac {i}{2}\right ) \left (i+\sqrt {\tanh (e+f x)}\right )\right )-2 \log \left (1-\sqrt {\tanh (e+f x)}\right ) \log \left (\frac {1}{2} \left (1+\sqrt {\tanh (e+f x)}\right )\right )-2 \log \left (1-\left (\frac {1}{2}-\frac {i}{2}\right ) \left (1+\sqrt {\tanh (e+f x)}\right )\right ) \log \left (1+\sqrt {\tanh (e+f x)}\right )+2 \log \left (\frac {1}{2} \left (1-\sqrt {\tanh (e+f x)}\right )\right ) \log \left (1+\sqrt {\tanh (e+f x)}\right )-2 \log \left (\left (-\frac {1}{2}-\frac {i}{2}\right ) \left (i+\sqrt {\tanh (e+f x)}\right )\right ) \log \left (1+\sqrt {\tanh (e+f x)}\right )+\log ^2\left (1+\sqrt {\tanh (e+f x)}\right )+i \operatorname {PolyLog}\left (2,-e^{4 i \arctan \left (\sqrt {\tanh (e+f x)}\right )}\right )-2 \operatorname {PolyLog}\left (2,\frac {1}{2} \left (1-\sqrt {\tanh (e+f x)}\right )\right )+2 \operatorname {PolyLog}\left (2,\left (-\frac {1}{2}-\frac {i}{2}\right ) \left (-1+\sqrt {\tanh (e+f x)}\right )\right )+2 \operatorname {PolyLog}\left (2,\left (-\frac {1}{2}+\frac {i}{2}\right ) \left (-1+\sqrt {\tanh (e+f x)}\right )\right )+2 \operatorname {PolyLog}\left (2,\frac {1}{2} \left (1+\sqrt {\tanh (e+f x)}\right )\right )-2 \operatorname {PolyLog}\left (2,\left (\frac {1}{2}-\frac {i}{2}\right ) \left (1+\sqrt {\tanh (e+f x)}\right )\right )-2 \operatorname {PolyLog}\left (2,\left (\frac {1}{2}+\frac {i}{2}\right ) \left (1+\sqrt {\tanh (e+f x)}\right )\right )\right )\right ) \sqrt {b \tanh (e+f x)}}{8 f^2 \sqrt {\tanh (e+f x)}} \]
[In]
[Out]
\[\int \left (d x +c \right ) \sqrt {b \tanh \left (f x +e \right )}d x\]
[In]
[Out]
Exception generated. \[ \int (c+d x) \sqrt {b \tanh (e+f x)} \, dx=\text {Exception raised: TypeError} \]
[In]
[Out]
\[ \int (c+d x) \sqrt {b \tanh (e+f x)} \, dx=\int \sqrt {b \tanh {\left (e + f x \right )}} \left (c + d x\right )\, dx \]
[In]
[Out]
\[ \int (c+d x) \sqrt {b \tanh (e+f x)} \, dx=\int { {\left (d x + c\right )} \sqrt {b \tanh \left (f x + e\right )} \,d x } \]
[In]
[Out]
\[ \int (c+d x) \sqrt {b \tanh (e+f x)} \, dx=\int { {\left (d x + c\right )} \sqrt {b \tanh \left (f x + e\right )} \,d x } \]
[In]
[Out]
Timed out. \[ \int (c+d x) \sqrt {b \tanh (e+f x)} \, dx=\int \sqrt {b\,\mathrm {tanh}\left (e+f\,x\right )}\,\left (c+d\,x\right ) \,d x \]
[In]
[Out]